#pragma once

#include "stdafx.h"
#include "material.h"
#include "color.h"
#include "vector3.h"
#include "point.h"
#include "texcoords.h"

class intersection
{
public:
	intersection();
	~intersection();

	unsigned int	objectID;
	double			distance;
	point			colisionCoords;
	vector3			objectNormal;
	material		objectMaterial;
	color			objectColor;
	texcoords		texCoords;	

	intersection & operator =(intersection &other);
};